package openadmin.model.object;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.PrimaryKeyJoinColumn;
import org.hibernate.validator.Length;

@Entity
@Table(name = "trash", schema = "object")
@PrimaryKeyJoinColumn(name="id")
public class Trash extends Tax {

	@Length(max = 20)
	private String cadastralref;
	
	private int zone;
	
	public Trash() {
		super();
	}

	public String getCadastralref() {
		return cadastralref;
	}

	public void setCadastralref(String cadastralref) {
		this.cadastralref = cadastralref;
	}

	public int getZone() {
		return zone;
	}

	public void setZone(int zone) {
		this.zone = zone;
	}
	
}
